//
//  ChartController.h
//  GuoBang
//
//  Created by 梧桐树 on 16/4/27.
//  Copyright © 2016年 梧桐树. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PersonController.h"
#import "CustomKeyBoard.h"
#import "MyMessageCell.h"
#import "OrderCell.h"
#include "ZHPickView.h"
#import "UUDatePicker.h"
#import <AVFoundation/AVFoundation.h>
#import "PlayVoiceCell.h"
#import "PicDeViewController.h"
#import "KaFeiStelyTableViewCell.h"

@interface ChartController : UIViewController<UITableViewDelegate,UITableViewDataSource,CustomKeyBoardDelegate,UINavigationControllerDelegate,UIImagePickerControllerDelegate, UITextViewDelegate, UITextFieldDelegate,ZHPickViewDelegate,UUDatePickerDelegate,UITextViewDelegate,UIActionSheetDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,AVAudioRecorderDelegate,UIAlertViewDelegate,orderDelegate,MyMessageCellDelegate>
{
    NSMutableArray *messageArry;
    IBOutlet UITableView *tab;
    int hearderHi;//因为数据需要在headerView和headerHeight用到，所以统一设置下高
    CustomKeyBoard *keyView;//自定义输入框
    
    
    
    
    
       UIImageView *images;
    int rTime;
    NSTimer* timer;
    int shows;
    NSString *picStr;
    NSString *voiceStr;
    //录音
    AVAudioRecorder *audioRecorder;
    AVAudioPlayer *audioPlayer;
    AVAudioSession * audioSession;
    NSURL* recordUrl;
    NSURL* mp3FilePath;
    NSURL* audioFileSavePath;//要提交的音频
    
    
    

}

@property (nonatomic, strong) UISegmentedControl *control;
@property (nonatomic, strong) NSArray *menuItem;

@property(nonatomic,strong)NSString *t_id;
@property(nonatomic,strong)NSString *task_id;

// 咖啡的那个tableView
@property(nonatomic,strong)UITableView *kafeiTab;










@end
